

//
//  NAccessoryCell.m
//  nncloud
//
//  Created by macfai on 2018/12/26.
//  Copyright © 2018 macfai. All rights reserved.
//

#import "NAccessoryCell.h"

@implementation NAccessoryCell

- (void)awakeFromNib {
    [super awakeFromNib];
    self.downloadBtn.layer.cornerRadius = 4.f;
    self.downloadBtn.layer.masksToBounds = YES;
    self.selectionStyle = 0;
    // Initialization code
}


- (IBAction)downloadAction:(UIButton *)sender {
    
    [SVProgressHUD show];
    dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(1 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
        [AFToast showText:@"下载完成"];
        [SVProgressHUD dismiss];
    });
    
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
